<template>
  <div class="confirm-button">
    <button @click="getButtonClick">{{xl || '确认'}}</button>
  </div>
</template>

<script>
  export default{
    name:"confirm-button",
    props:["xl"],
    data(){
      return{
        msg:"你已经注册成功！！！"
      };
    },
    methods:{
      getButtonClick(){
        this.$emit("message",this.msg);
      }
    }
  };
</script>

<style>
</style>
